import { ImageBackground, StyleSheet, Text, View } from 'react-native'

import splash from '~/assets/splash.png'

const Loading = () => {
  return (
    <ImageBackground source={splash} style={styles.container}>
      <Text style={styles.text}>Loading...</Text>
    </ImageBackground>
  )
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
  },

  text: {
    fontSize: 36,
    marginTop: -150,
  },
})

export default Loading
